package com.roger.myHome.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("tb_assets")
public class TbAssets implements Serializable {
    @TableField(value = "id")
    private Long id;

    @TableField(value = "bank")
    private String bank;

    @TableField(value = "money")
    private BigDecimal money;

    @TableField(value = "create_user")
    private Long createUser;

    @TableField(value = "lasted_update_time")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastedUpdateTime;
}
